package com.cuit.ocp.service;

import com.cuit.ocp.bean.ReturnOrder;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface ReturnOrderService {
    Map<Object,Object> getAllReturnOrderByPage(int current_page);
    Map <String, String> addReturnOrder(ReturnOrder returnOrder);
    Map<String,String> deleteReturnOrder(int re_id);
    Map<String,Object> selectReturnOrderById(int re_id);
    Map<String,String> updateReturnOrderById(ReturnOrder returnOrder);
    Map<String,Object> selectReturnOrderByName(String order_name);
}
